#ifndef WINSIZEDIALOG_H
#define WINSIZEDIALOG_H

#include <QDialog>

namespace Ui {
    class WinSizeDialog;
}

class WinSizeDialog : public QDialog
{
    Q_OBJECT

public:
    explicit WinSizeDialog(QWidget *parent = 0);
    ~WinSizeDialog();
    void setTitle(QString title);

    int width;
    int height;
    int fullScreen;
    int titleBarHeight;

protected:
    void changeEvent(QEvent *e);

private:
    Ui::WinSizeDialog *ui;

private slots:
    void on_spinBoxHeight_editingFinished();
    void on_spinBoxWidth_editingFinished();
    void on_pushButtonOK_clicked();
    void on_checkBoxFullScreen_stateChanged(int arg1);
    void on_spinBoxTitleBarHeight_editingFinished();
};

#endif // WINSIZEDIALOG_H
